<script src="/Js/jquery.uploadify.js" type="text/javascript"></script>
<script src="/ckeditor/ckeditor.js" type="text/javascript"></script>

<form action="/index.php/Admin/Article/add_do" method="POST">

<div class="pad-10">

	<div class="navigate">
		<h1>文章添加</h1>

        <span class="ui-button ui-button-morange fr">
            <a class="ui-button-text fr" href="/index.php/Admin/Article/">文章列表</a>
        </span>
  	</div>
  	
<div class="col-tab">
<ul class="tabBut cu-li">
	<li id="tab_setting_1" class="on"
		onclick="SwapTab('setting','on','',2,1);">文章添加</li>
</ul>

<div id="div_setting_1" class="contentList pad-10">
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">
	<tr>
		<th width="100">文章分类:</th>
		<td>			
		
			<select id="cate_id" name="cate_id" style="width:300px;">
				<volist name="cates" id="c">
				<option value="{$c.id}">{$c.name}</option>
				</volist>
			</select>
			
		</td>
	</tr>
	<tr>
		<th width="100">标题:</th>
		<td><input type="text" name="title" id="title" class="input-text" style="width:500px;" /></td>
	</tr>
	<tr>
		<th width="100">关键词:</th>
		<td><input type="text" name="keywords" id="keywords" class="input-text" style="width:500px;" /></td>
	</tr>
	<tr>
		<th width="100">内容:</th>
		<td>
			<textarea name="content" rows="18" cols="120"></textarea>
			<script type="text/javascript">
				var editor = CKEDITOR.replace("content");
			</script>
		</td>
	</tr>
	
	<tr>
		<th width="100">排序 :</th>
		<td>
			<input type="text" name="ord" id="ord" class="input-text" value="" size="4" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">
		</td>
	</tr>
	<tr>
		<th width="100">状态:</th>
		<td>
			<input type="radio" id="disabled_0" name="disabled" value="0" checked="checked" /> 
			<label for="disabled_0">启用</label> 
			
			<input type="radio" id="disabled_1" name="disabled" value="1" /> 
			<label for="disabled_1">禁用</label>
		</td>
	</tr>
</table>

</div>

<div class="bk15"></div>
<div class="btn"><input type="submit" class="button" value="添加" /></div>
</div>
</div>

</form>